package com.nan.common.menu;

public class MenuItem {
	private int type;
	public MenuLink link;
	public MenuList list;
	
	public MenuItem(MenuLink m_link)
	{
		type = 1;
		link = m_link;
		list = null;
	}
	
	public MenuItem(MenuList m_list)
	{
		type = 2;
		link = null;
		list = m_list;
	}
	
	public int getType()
	{
		return this.type;
	}
	
	public MenuLink getLink()
	{
		return this.link;
	}
	
	public MenuList getList()
	{
		return this.list;
	}
}
